package com.tczs.client.bean;

import java.util.List;
import java.util.Map;

public class Command {

    //命令名称
    private String commandName;
    //数据库名
    private String databaseName;
    //表名
    private String tableName;
    //数据
    private Map<String,Object> commandData;
    //条件
    private Where where; //查询参数,多条件仅支持And并查询

    public String getCommandName() {
        return commandName;
    }

    public void setCommandName(String commandName) {
        this.commandName = commandName;
    }

    public String getDatabaseName() {
        return databaseName;
    }

    public void setDatabaseName(String databaseName) {
        this.databaseName = databaseName;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public Map<String, Object> getCommandData() {
        return commandData;
    }

    public void setCommandData(Map<String, Object> commandData) {
        this.commandData = commandData;
    }

    public Where getWhere() {
        return where;
    }

    public void setWhere(Where where) {
        this.where = where;
    }
}
